LMD-Tools Troubleshooting


Last Changes: 30-Jun-2002  [InfoCenter]


Contents

General

Delphi
 
[Fatal Error]: Unit XXXX was compiled with a different version of XXXXX
 
Compatibility Components are not installed by default!
 
Help Index files disappear after installation of LMD-Tools helpfiles
  ToolBar97 components

CBuilder
  LMD ShellPack Notes
  LMD ShellPack Notes
  LMD TextPack Notes
  LMD WebPack Notes
 
TLMDHideNonVC Notes
  TLMDFormDisplay Notes
  

General

I want to run my application in IDE, but debugger window appears (breakpoint just before ntdll.DbgUserBreakPoint) and I have to hit F9 several times to start project.
1.) The problem happens only within IDE (does not affect the executable). 2.) Get the projects #15804 and #16098 from Borland Codecentral and install in the IDE. Follow information in textfiles and problem will go away.

[Top]

 

Delphi Notes

The support request Nr. 1 for LMD-Tools 5: 
[Fatal Error] UMain.pas(8): Unit lmdsysin was compiled with a different version of lmdconst.IDS_CPUSPEED
Reason: You did not uninstall a previous version (e.g. Release 5.X) completely. 
Solution: Make sure that no path reference to an older LMD-Tools exist (check Environment Options|Library Path). The most secure way would be to uninstall any files of any previous version from your harddisk. Please rebuild your project completely to reflect new units. For detailed instruction read Uninstall LMD-Tools.
[Top]

Compatibility Components are not installed by default!
User who you used the older components of version 1 in their projects (e.g. the ones from the LMD Free tab) must explicitely mark the corresponding check box in the installation options to install the LMD-Tools compatability components. Please note: No components were left out, they're all still available (and will be available in the future). However we want to avoid that new user use these controls because they will not be improved in the future (because they're replaced by improved controls).
[Top]

Help Index files disappear after installation of LMD-Tools helpfile (you checked automatic installation in installer).
You are running a Win9X/ME machine (on Windows NT/2K/XP this problem should not happen). The capability of index items in Windows Help system is limited on these operating systems (and LMD-Tools Index files are very large). There are two possible workarounds:

[Top]

ToolBar97 components
The registered versions of LMD-Tools include a license for the Toolbar97 components. Please note that no precompiled packages are installed during installation, simply install the DPK if you want to use the ToolBar97 components. The ToolBar97 units can be found in the \
lib\\toolb97 folder. Documentation can be found in HTML format in the \help folder.
[Top]

 

CBuilder Notes

LMD RichPack
After recompiling LMD RichPack packages, you might receive errors regarding
CHARFORMAT2A types if you want to start an application using TLMDRichEdit components. Workaround: Simply enter in the header files Richedit:: before CHARFORMAT2A types (where compiler requires this). Example:
Change line...
void __fastcall GetAttributes(CHARFORMAT2A &Format);     
..to...
void __fastcall GetAttributes(Richedit::CHARFORMAT2A &Format);

[Top]


LMD ShellPack
Important:
If your application uses ShellPack components, the following line must be added in one of the units which contain ShellPack components (e.g. main unit of your application):

#include <LMDShellBCBSupport.hpp>

If this header file is not included, an E2076 linker error will be generated.
[Top]

LMD TextPack
Important:
Borland CBuilder does not add the path to ParsePack lib automatically. Please either add ParsePack (e.g. [..]\Lib\LMDParse20\B5) path to the project options or move ParsePack files.
[Top]

LMD WebPack
Important:
[1] To make an application compileable using TLMDWebUpdate  component, the #define NO_WIN32_LEAN_AND_MEAN switch must be inserted before the #include <vcl.h> line in the header file of the main unit. Check example project for demonstration.
[2] If you use WinInet version of WebPack and you receive "Unresolved External" compiler errors, add wininet.lib from
CBuilderDir\Lib directory to project files (wininet.lib will be statically linked then).
[3]
Borland CBuilder does not add the path to ParsePack lib automatically. Please either add ParsePack (e.g. [..]\Lib\LMDParse20\B5) path to the project options or move ParsePack files to a common directory.
[Top]

TLMDHideNonVC
The TLMDHideNonVC component has no functionality in LMD-Tools for CBuilder 5 and is included for the sake of compatability only. In the version for C++ Builder 6 this component is no longer included.
[Top]

TLMDFormDisplay
The AddForm method on TLMDFormDisplay was renamed to AddFormExt due to naming conflicts with CBuilder routines.
[Top]


© 2002 by LMD Innovative Germany
All other trademarks are acknowledged.